package dao;

import entity.StudentEntity;
import dto.ChooseClassDTO;

import java.util.List;
import java.util.Map;

public interface StudentDao {

    List<Map<String,Object>> getAll(String name);

    int addStudent(StudentEntity student);

    int deleteStudent(String id);

    int updateStudent(StudentEntity student);

    int batchDeleteStudent(List<String> ids);

    int chooseClass(ChooseClassDTO dto);
}
